//
//  ShareToWeiXinLayer.h
//  PlantNanny
//
//  Created by Joueu on 14-12-18.
//
//

#ifndef __PlantNanny__ShareToWeiXinLayer__
#define __PlantNanny__ShareToWeiXinLayer__

#include "cocos2d.h"
#include "PopupLayer.h"
#include "ShaderLayer.h"
#include "cocos-ext.h"
#include "SimpleAudioEngine.h"

USING_NS_CC;
USING_NS_CC_EXT;

class ShareToWeiXinLayer: public Layer
{
public:
    CREATE_FUNC(ShareToWeiXinLayer);
    virtual bool init();
    
private:
    //微信分享
    PopupLayer *popLayer;
    ShaderLayer *shaderLayer;
    void shareToFriendBtnPressed(Ref *pSender, ui::Widget::TouchEventType type);
    void shareToCircleBtnPressed(Ref *pSender, ui::Widget::TouchEventType type);
    
    void closeBtnPressed(Ref *pSender, ui::Widget::TouchEventType type);
};

#endif /* defined(__PlantNanny__ShareToWeiXinLayer__) */
